/**
 * PostParameter.java
 * 
 * Created on 22.05.2012 09:03:49
 */
package de.g18.scavengerhunt.types;

/**
 * @author IT0-RackLa
 */
public class PostParameter {

    private String key   = null;

    private String value = null;

    public PostParameter(String key, String value) {
        this.key = key;
        this.value = value;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getKey() {
        return key;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getValue() {
        return value;
    }

    /**
     * @return
     */
    public String getNameValuePair() {
        return key + "=" + value;
    }
}
